package com.hk.patterntrains.decoratorpattern;

public class Moca extends CondimentDecorator {

    public Moca(Beverage beverage) {
        super(beverage);
    }

    @Override
    public String getDescription() {
        return "Mock,"+beverage.getDescription();
    }

    @Override
    public Double cost() {
        return 0.22 + beverage.cost();
    }
}
